Sense amplifiers, memories, and apparatuses and methods for sensing a data state of a memory cell

ABSTRACT

Sense amplifiers, memories, and apparatuses and methods for sensing a data state of a memory cell are disclosed. An example apparatus includes a differential amplifier configured to amplify a voltage difference between voltages applied to first and second amplifier input nodes to provide an output. The example apparatus further includes first and second capacitances coupled to the first and second amplifier input nodes. A switch block coupled to the first and second capacitances is configured to couple during a first phase a reference input node to the first and second capacitances and to the first amplifier input node. The switch block is further configured to couple during the first phase an output of the amplifier to the second amplifier input node to establish a compensation condition. During a second phase, the switch block couples its input nodes to the first and second capacitances.

CROSS-REFERENCE to RELATED APPLICATION

This application is a continuation of U.S. patent application Ser. No. 13/106,359, filed May 12, 2011. This application is incorporated by reference herein in its entirety and for all purposes.

TECHNICAL FIELD

Embodiments of the invention related generally to semiconductor memory, and more specifically, in one or more described embodiments, to providing voltage and gain offset compensation for sense amplifiers of a memory.

BACKGROUND OF THE INVENTION

Electronic memory are used in many electronic circuits and devices. The memory are used to store data, for example, instructions and other information used by the electronic circuits during operation. As electronic circuits and devices have continued to decrease in size, so has the physical size of the memory. Further driving miniaturization of memory circuitry is the greater demand for storing more data, that is, electronic memories have increased storage capacity despite the decreasing size.

Decreased size and greater memory capacity are typically achieved by shrinking the dimensions of the circuitry, including making physical features of the circuitry smaller. With the smaller circuitry voltage levels used during memory operation have decreased, which have resulted in internal memory signals, for example, having less voltage margin for proper operation of the memory.

An approach that has been taken to account for the decreasing voltage levels and voltage margins is to design circuitry that has greater sensitivity to the lower voltage level signals. For example, sense amplifiers are used in memory circuitry to read data from memory by sensing and amplifying the data state of memory being read. The sense amplifier circuitry, as most electronic circuitry, have inherent offsets which may be caused by mismatches in circuit performance resulting from manufacture or design. Examples of the inherent offsets include voltage offsets and amplifier gain offsets. The offsets may be significant enough relative to the voltage levels of the internal memory signals that offset compensation is necessary for proper operation of the memory.

Therefore, there is a need for sense amplifiers and methods of sensing that provide offset compensation, for example, to accurately sense data states of memory even with less voltage margin.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1A is a schematic diagram of a sense amplifier according to an embodiment of the invention. FIG. 1B is a simplified timing diagram of various signals during operation of the sense amplifier of FIG. 1A.

FIG. 2 is a schematic diagram of a sense amplifier according to an embodiment of the invention.

FIG. 3 is a schematic diagram of a sense amplifier according to an embodiment of the invention.

FIG. 4 is a block diagram of a memory including a sense amplifier according to an embodiment of the invention.

DETAILED DESCRIPTION

Certain details are set forth below to provide a sufficient understanding of embodiments of the invention. However, it will be clear to one skilled in the art that embodiments of the invention may be practiced without these particular details. Moreover, the particular embodiments of the present invention described herein are provided by way of example and should not be used to limit the scope of the invention to these particular embodiments. In other instances, well-known circuits, control signals, timing protocols, and software operations have not been shown in detail in order to avoid unnecessarily obscuring the invention.

FIG. 1A illustrates a sense amplifier 100 according to an embodiment of the invention. The sense amplifier 100 may be considered an apparatus or included in an apparatus. Generally, the term apparatus may refer to any one of a number of structures, such as circuitry, a device or devices, or a system or systems. The sense amplifier 100 may be used to sense a data state stored by memory cell 10. The memory cell 10 may be coupled to a global data line 20, which is conventionally referred to as a global data line (GBL), for sensing by the sense amplifier 100. The data state stored by memory cell 10 is determined based on a voltage IN_GBL relative to a reference voltage IN_REF provided by reference global data line 30. A reference current IREF provided by reference current source 40 is used to establish a reference voltage for the reference global data line 30. The memory cell 10 may be coupled to the global data line 20 through various circuitry and signal lines (not shown) to be sensed by the sense amplifier 100. For example, the memory cell 10 may be coupled to the global data line 20 through a local data line and decoder circuitry, both not shown in FIG. 1A for the purpose of simplifying FIG. 1. Those ordinarily skilled in the art, however, will appreciate that the memory cell 10 may be coupled to the global data line 20 through other circuits and signal lines without departing from the scope of the present invention.

Sense amplifier 100 includes a differential amplifier 110 coupled to switch block 120. The global data line 20 is coupled to node 124 of the switch block 120 and the reference global data line 30 is coupled to node 128. A reference voltage VREF is provided to a reference input 126. The switch block 120 includes switches 120A-120F, and further includes nodes 121 and 122 coupled to capacitances 125 and 129, respectively. Capacitance 125 is coupled to a non-inverting input 111 and capacitance 129 is coupled to an inverting input 112 of differential amplifier 110. An output of differential amplifier 110 is coupled to a feedback input 127 of the switch block 120. Precharge transistors 140, 142, 144 are coupled to the global data line 20 and reference global data line 30. A precharge enable signal VPRECH is provided to the gates of the precharge transistors 140, 142, 144.

As will be described in more detail below, operation of the sense amplifier 100 includes two phases, a precharge phase (Phase 1) and an evaluation phase (Phase 2). During Phase 1 the global data line 20 and reference data line 30 are precharged to a precharge voltage in preparation for Phase 2, during which the data state of the memory cell 10 is sensed. In some embodiments, the example precharge voltage is substantially equal to the VREF voltage. Additionally during Phase 1, voltage and gain offset compensation is performed, which may improve sensing performance, for example, even for relatively low sense currents through memory cell 10. By performing voltage and gain offset compensation during Phase 1, a phase that typically occurs in conventional memory, additional phases of operation for performing the compensation operation according to embodiments of the invention may not be necessary. That is, in effect the compensation operation may be “hidden” in the Phase 1 operation.

Operation of the sense amplifier 100 will be described with reference to FIGS. 1A and 1B. FIG. 1B is a simplified timing diagram of various signals during operation of the sense amplifier 100. The operation of the sense amplifier 100 includes a precharge phase, which occurs between times T0 and T1, and an evaluation phase, which occurs between times T2 and T3. At time T0, the VPRECH signal becomes active to couple the precharge voltage through the precharge transistors 140, 144 to couple the precharge voltage to the global data line 20 and the reference global data line 30. Also at time T0 transistor 142 is activated by the active VPRECH signal to equilibrate data lines 20 and 30. Nodes 124 and 128 are similarly precharged to the precharge voltage through the precharge transistors 140, 142, 144.

Switches 120A-120D are also closed at time T0, thereby coupling the VREF voltage to node 121 and to the non-inverting input 111 of the differential amplifier 110, and further coupling the VREF voltage to node 122. The output of the differential amplifier 110 is coupled to its inverting input 112 through switch 120D. With the VREF voltage coupled across capacitance 125 and to node 122, and with the output of the differential amplifier 110 fed back to its inverting input 112, an ideal differential amplifier that does not have any voltage offset will drive the voltage to the inverting input 112 to the VREF voltage until the output is zero and the voltages at the non-inverting and inverting inputs 111 and 112 are at the VREF voltage. A differential amplifier 110 having a voltage offset, however, will drive the inverting input 112 to a voltage of (VREF+VOFFSET) wherein VOFFSET is an offset voltage based on the offset of the differential amplifier 110. The resulting voltage provided to the inverting input 112 will compensate for the voltage offset. The VOFFSET may be positive or negative, that is, the voltage at the inverting input 112 may be greater than VREF (i.e., VOFFSET is positive) or less than VREF (i.e., VOFFSET is negative), depending on the offset of the differential amplifier 110.

Additionally, having the OFFSET voltage established with the differential amplifier 110 receiving the VREF voltage, gain offset compensation for the differential amplifier 110 under the operating condition during the evaluation phase is also provided. As previously discussed, gain offset compensation should occur for the condition under which operation is desired. In the case of the evaluation phase, the desired operating condition is with a VREF voltage applied.

At time T1, the precharge phase ends. The VPRECH signal becomes inactive shutting off precharge transistors 140, 142, and 144 to decouple the global data line 20 and the reference global data line 30 from the precharge voltage. Switches 120A-120D are also opened at time T1 to decouple the VREF voltage from the non-inverting input 111, and from nodes 121 and 122. The output is also decoupled from the inverting input 112. Under this condition, the global data line 20 and the reference global data line 30 are floating and are at the precharge voltage. Additionally, the non-inverting input 111 and the inverting input 112 are floating and are at VREF and (VREF+VOFFSET) voltages, respectively, which provides voltage and gain offset compensation for the differential amplifier 110.

At time T2, the evaluation phase begins. Switches 120E and 120F are closed to couple together nodes 121 and 124, and to couple together nodes 122 and 128. The memory cell 10 is coupled to the global data line 20, which results in a sense current that creates a sense voltage IN_GBL that is provided through switch 120E to node 121. As known, the magnitude of the sense current, and consequently, the magnitude of the sense voltage, is based at least in part on the conductive state of the cell (and, in some cases, the degree to which the cell is programmed or not programmed). The reference current source 40 is coupled to node 128, thereby resulting in a reference current IREF that creates a reference voltage IN_REF provided to node 122 through the switch 120F. The IN_REF voltage may be substantially equal to the VREF voltage provided during the precharge phase previously discussed.

The sense voltage IN_GBL relative to the IN_REF voltage is indicative of the data state of the memory cell 10. For example, where the memory cell 10 is in a conductive state, the sense current may be such that the resulting IN-GBL voltage is less than the IN-REF voltage (i.e., the sense current is greater than the IREF current). Where the memory cell 10 is in a non-conductive state, the sense current may be such that the resulting IN-GBL voltage is greater than the IN-REF voltage (i.e., the sense current is less than the IREF current). As will be described in more detail below, the differential amplifier 110 is used to sense the difference between the IN_GBL and IN_REF voltages to determine the data state of the memory cell 10.

Responsive to the coupling of the IN_GBL and IN_REF voltages to nodes 121 and 122, the voltages are coupled across capacitances 125 and 129 to non-inverting node 111 and to inverting node 112, all respectively. Recall that the voltage present at the non-inverting node 11 is VREF and the voltage present at the inverting node 112 is (VREF+VOFFSET), which provides voltage and gain offset compensation for the differential amplifier 110. The voltages at the non-inverting and inverting nodes 111, 112 are affected by the IN_GBL and IN_REF voltages, with the resulting voltages at the nodes 111, 112 to be sensed by the differential amplifier to determine the data state of the memory cell 10.

As previously discussed, a voltage difference between the voltages of the non-inverting node 111 and the inverting node 112 is sensed by the differential amplifier 110, which provides (e.g. generates, outputs, etc.) a SAMP_OUT signal having a voltage indicative of the data state of the memory cell 10. For example, assuming a programmed memory cell 10 results in a IN_GBL voltage less than the IN_REF voltage, the SAMP_OUT signal will have a low logic level voltage (e.g., ground). Further assuming an unprogrammed memory cell 10 results in an IN_GBL voltage that is greater than the IN_REF voltage, the differential amplifier 110 provides a SAMP_OUT signal having a high logic level voltage (e.g., a supply voltage). At time T3, the evaluation phase is completed. Switches 120E and 120F are opened to decouple node 124 from node 121 and decouple node 128 from node 122.

As illustrated in the previous example, the sense amplifier 100 is configured and may be operated to provide voltage and gain offset compensation. Moreover, the voltage and gain offset compensation is performed during a precharge phase, a phase that typically occurs in conventional memory. As a result, additional phases of operation may not be necessary and the offset compensation operation may be hidden in the precharge phase.

FIG. 2 illustrates a sense amplifier 200 according to an embodiment of the invention. The sense amplifier 200 includes elements previously discussed with reference to the sense amplifier 100 of FIG. 1. The elements that have been previously described are identified in FIG. 2 using the same reference numbers as in FIG. 1. For example, the sense amplifier 200 includes differential a differential amplifier 110 coupled to switch block 120 that includes switches 120A-120F and capacitance 125, 129. Capacitances 125 and 129 are coupled to non-inverting input 111 and inverting input 112 of differential amplifier 110, respectively. Precharge transistors 140, 142, 144 are used to precharge nodes 124 and 128, as well as the global data line 20 and the reference global data line 30.

The sense amplifier 200 further includes a differential amplifier 210 having an inverting input 212 coupled to the output of differential amplifier 110 to receive the OUT DIFF signal. A non-inverting input 211 of the differential amplifier 210 is configured to receive a reference voltage VREF. The differential amplifier 210 may be configured to provide an output signal SAMP_OUT that is indicative of the data state of memory cell 10 which is based at least in part on a voltage difference between the voltage of the OUT_DIFF signal and the VREF voltage.

Operation of the sense amplifier 200 is similar to the operation previously described with reference to FIGS. 1A and 1B. That is, the operation of sense amplifier 200 includes a precharge phase and an evaluation phase. During the precharge phase (e.g., between times T0 and T1 of FIG. 1B), the global data line 20 and the reference global data line 30 are precharged to a precharge voltage through the precharge transistors 140, 142, 144. Moreover, voltage and gain offset compensation for the differential amplifier 110 is provided during the precharge phase as previously described. That is, closing switches 120A-120D of the switch block 120 establishes an offset compensation condition across the non-inverting and inverting inputs 111, 112 of the differential amplifier 110 that provides voltage and gain compensation at an operating condition, for example, at a VREF voltage. At the end of the precharge phase, switches 120A-120D and are opened.

During the evaluation phase (e.g., between times T2 and T3 of FIG. 1B), the memory cell 10 is coupled to the global data line 20. Switches 120E and 120F are also closed during the evaluation phase to couple the global data line 20 and reference global data line 30 to non-inverting input 111 and inverting input 112 through capacitances 125 and 129, all respectively. With the switches 120E and 120F closed, the differential amplifier 110 senses any voltage difference between the voltages of the global data line 20 and the reference global data line 30 to provide the OUT_DIFF signal. The differential amplifier 210 senses the OUT_DIFF signal and provides an output based on the OUT_DIFF signal voltage and VREF, which is provided to the non-inverting input 211. The differential amplifier 210 provides the SAMP_OUT signal responsive to sensing the OUT_DIFF signal.

As previously discussed, the SAMP_OUT signal has a voltage level indicative of the data state of the memory cell 10. For example, the differential amplifier 210 provides a SAMP_OUT signal having a relatively high voltage level (e.g., a supply voltage) responsive to the SAMP_OUT signal having a voltage less than VREF (i.e., the memory cell 10 is programmed). The differential amplifier 210 provides a SAMP_OUT signal having a relatively low voltage level (e.g., ground) responsive to the SAMP_OUT signal having a voltage greater than VREF (i.e., the memory cell 10 is unprogrammed).

The sense amplifier 200 may be used in applications where the additional signal amplification provided by the differential amplifier 210 desirable.

FIG. 3 illustrates a sense amplifier 300 according to an embodiment of the invention. The sense amplifier 300 includes elements previously discussed with reference to the sense amplifier 100 of FIG. 1. The elements that have been previously described are identified in FIG. 3 using the same reference numbers as in FIG. 1. For example, the sense amplifier 200 includes a differential amplifier 110 coupled to switch block 120 that includes switches 120A-120F and capacitance 125, 129. Capacitances 125 and 129 are coupled to non-inverting input 111 and inverting input 112 of differential amplifier 110, respectively. Precharge transistors 140, 142, 144 are used to precharge nodes 124 and 128, as well as the global data line 20 and the reference global data line 30.

The sense amplifier 300 further includes a differential amplifier 310 coupled to switch block 320. The output of differential amplifier 110 is coupled to node 328 of the switch block 320 and a reference voltage VREF is coupled to node 324. A reference voltage VREF is provided to a reference input 326. The switch block 320 includes switches 320A-320F, and further includes nodes 321 and 322 coupled to capacitances 325 and 329, respectively. Capacitance 325 is coupled to a non-inverting input 311 and capacitance 329 is coupled to an inverting input 312 of differential amplifier 310. An output of differential amplifier 310 is coupled to a feedback input 327 of the switch block 320.

Operation of the sense amplifier 300 is similar to the operation previously described with reference to FIGS. 1A and 1B. That is, the operation of sense amplifier 300 includes a precharge phase and an evaluation phase. During the precharge phase (e.g., between times T0 and T1 of FIG. 1B), the global data line 20 and the reference global data line 30 are precharged to a precharge voltage through the precharge transistors 140, 142, 144. Voltage and gain offset compensation for the differential amplifiers 110 and 310 are also provided during the precharge phase.

Closing switches 120A-120D of the switch block 120 establishes a compensation condition across the non-inverting and inverting inputs 111, 112 of differential amplifier 110 that provides voltage and gain compensation at the VREF operating condition. Additionally, closing switches 320A-320D of the switch block 320 establishes a compensation condition across the non-inverting and inverting inputs 311, 312 of differential amplifier 310 that provides voltage and gain compensation at the VREF operating condition. At the end of the precharge phase, switches 120A-120D and 320A-320D are opened.

During the evaluation phase (e.g., between times T2 and T3 of FIG. 1B), the memory cell 10 is coupled to the global data line 20. Switches 120E and 120F, and switches 320E and 320F are also closed during the evaluation phase. The switches 120E and 120F couple the global data line 20 and reference global data line 30 to non-inverting input 111 and inverting input 112 through capacitances 125 and 129, all respectively. The switch 320E couples a reference voltage VREF to the non-inverting input 311 through capacitance 325 and switch 320F couples the output of the differential amplifier 110 to the inverting input 312 through capacitance 329. The differential amplifier 110 senses a voltage difference between the voltages of the global data line 20 and the reference global data line 30 to provide the OUT_DIFF signal. The differential amplifier 310 senses the OUT_DIFF signal from the differential amplifier 110 and provides an output SAMP_OUT based on the OUT_DIFF signal voltage and VREF.

As previously discussed, the SAMP_OUT signal has a voltage level indicative of the data state of the memory cell 10. For example, the differential amplifier 310 provides a SAMP_OUT signal having a relatively high voltage level (e.g., a supply voltage) responsive to the SAMP_OUT signal having a voltage less than VREF (i.e., the memory cell 10 is programmed). The differential amplifier 210 provides a SAMP_OUT signal having a relatively low voltage level (e.g., ground) responsive to the SAMP_OUT signal having a voltage greater than VREF (i.e., the memory cell 10 is unprogrammed).

The sense amplifier 300 may be used in applications where the additional signal amplification provided by the differential amplifier 310 desirable, and voltage and gain offset compensation for the differential amplifier 310 is also desirable.

A flash memory 600 that include sense amplifiers according to an embodiment of the invention is shown in FIG. 6. The flash memory 600 includes an array 630 of flash memory. Memory cells of the array 630 are arranged in rows and columns of memory, with a the columns of memory associated with local data lines to which the memory cells are coupled. Command signals, address signals and write data signals are applied to the memory 600 as sets of sequential input/output (“I/O”) signals transmitted through an I/O bus 634. Similarly, read data signals are output from the flash memory 600 through the I/O bus 634. The I/O bus is connected to an I/O control unit 640 that routes the signals between the I/O bus 634 and an internal data bus 642, an internal address bus 644, and an internal command bus 646. The flash memory 600 also includes a control logic unit 650 that receives a number of control signals either externally or through the command bus 646 to control the operation of the memory 600.

The address bus 644 applies row address signals to a row decoder 660, and applies column address signals to a global column decoder 664 and local column decoders (not shown). The row decoder 660, column decoder 664 and local column decoders may be used to select memory cells for memory operations. Row addresses are used by the row decoder 660 to select rows of memory and column addresses are used by the global column decoder 664 to select columns of memory for performing memory operations on memory corresponding to the row and column addresses, for example, erase, program, and read. The global column decoder 664 enables write data signals to be applied to data lines for columns corresponding to the column address signals and allow read data signals to be coupled from data lines for columns corresponding to the column address signals. The global column decoder 664 includes sense amplifiers 662 coupled to global data lines (not shown) used for memory access operations. The sense amplifiers 662 may include sense amplifiers according to embodiments of the invention.

In response to the memory commands decoded by the control logic unit 650, the memory in the array 630 are erased, programmed, or read. The memory array 630 may programmed on a row-by-row or page-by-page basis. After the row address signals have been applied to the address bus 644, the I/O control unit 640 routes write data signals to a cache register 670. The write data signals are stored in the cache register 670 in successive sets each having a size corresponding to the width of the I/O bus 634. The cache register 670 sequentially stores the sets of write data signals for an entire row or page of flash memory cells in the array 630. All of the stored write data signals are then used to program a row or page of memory cells in the array 630 selected by the row address coupled through the address bus 644. In a similar manner, during a read operation, data signals from a row or page of memory cells selected by the row address coupled through the address bus 644 are stored in a data register 680. Sets of data signals corresponding in size to the width of the I/O bus 634 are then sequentially transferred through the I/O control unit 640 from the data register 680 to the I/O bus 634.

From the foregoing it will be appreciated that, although specific embodiments of the invention have been described herein for purposes of illustration, various modifications may be made without deviating from the spirit and scope of the invention. Accordingly, the invention is not limited except as by the appended claims. 

What is claimed is:
 1. An apparatus, comprising: a data line and a reference line; a precharge circuit configured to precharge the data line and the reference line during a precharge phase; a switch block having a data line input coupled to the data line, a reference data line input coupled to the reference line, a reference input, and a feedback input, the switch block further including a data line output, a reference data line output, a reference output, and a feedback output, during the precharge phase the switch block configured to couple the reference input to the data line output, the reference data line output, and the reference output, and further couple the feedback input to the feedback output, during an evaluation phase the switch block configured to couple the data line input to the data line output and further couple the reference data line input to the reference data line output; a first capacitance coupled to the data line output; a second capacitance coupled to the reference data line output; and a differential amplifier coupled to the first and second capacitances and configured to provide an output having a voltage level based at least in part on voltages provided from the data line output and the reference data line output of the switch block.
 2. The apparatus of claim 1, wherein during the precharge phase the switch block is configured to couple the data line output and the reference output to opposite sides of the first capacitance.
 3. The apparatus of claim 1, wherein during the precharge phase the switch block is configured to couple the reference data line output and the feedback output to opposite sides of the second capacitance.
 4. The apparatus of claim 1, wherein the first capacitance is coupled to a non-inverting input of the differential amplifier and wherein the second capacitance is coupled to an inverting input of the differential amplifier.
 5. The apparatus of claim 1, wherein the differential amplifier is a first differential amplifier, and the apparatus further comprises a second differential amplifier having an input coupled to an output of the first differential amplifier.
 6. The apparatus of claim 1, wherein the switch block is configured during the precharge phase to couple the precharge circuit, the switch block and the differential amplifier to establish a compensation condition for the differential amplifier that compensates for both offset voltage and gain.
 7. The apparatus of claim 1, wherein the first and second capacitances comprise first and second capacitors.
 8. An apparatus, comprising: a precharge circuit configured to precharge a data line and precharge a reference data line during a precharge phase; a differential amplifier configured to provide an output signal based on a voltage difference between first and second amplifier inputs; and a switch circuit coupled to the data line and the reference data line, and to the first and second amplifier inputs, the switch circuit configured to establish an offset compensation condition across the first and second amplifier inputs during a precharge phase, and further configured to capacitively couple the data line and the reference data line to the first and second amplifier inputs, respectively, during an evaluation phase, wherein the differential amplifier is configured to provide an output based at least in part on a voltage difference between the first and second amplifier inputs.
 9. The apparatus of claim 8, wherein the switch circuit is further configured to decouple the data line and the reference data line from the first and second amplifier inputs during the precharge phase.
 10. The apparatus of claim 9, further comprising a first capacitor coupled to the first amplifier input and a second capacitor coupled to the second amplifier input, wherein the switch circuit is configured to decouple the data line and the reference data line from the first and second capacitors, respectively, during the precharge phase.
 11. The apparatus of claim 10, wherein the switch circuit comprises a voltage reference input and a feedback input coupled to an output of the differential amplifier, wherein the switch circuit is configured to couple both sides of the first capacitor to the voltage reference input during the precharge phase, and to couple the feedback input to one side of the second capacitor and the voltage reference to an opposite side of the second capacitor during the precharge phase.
 12. The apparatus of claim 11, wherein the switch circuit is configured to decouple the voltage reference input and the feedback input from the first and second capacitors during the evaluation phase.
 13. The apparatus of claim 8, wherein the precharge circuit comprises: a first transistor coupled to the data line; a second transistor coupled to the reference line; and a third transistor coupled to the first and second transistors.
 14. The apparatus of claim 8, further comprising a current source coupled to the reference line.
 15. An apparatus, comprising: a precharge circuit coupled to a data line and a reference line configured to precharge the data line and the reference line during a precharge phase; a switch block circuit coupled to the data line and the reference line and coupled to a first and a second capacitor, wherein the switch block circuit is configured to establish an offset compensation condition at inputs of a differential amplifier during the precharge phase and is further configured to couple the data line to the first capacitor and the reference data line to the second capacitor during an evaluation phase; and the differential amplifier coupled to the first capacitor with a non-inverting input and coupled to the second capacitor with an inverting input, wherein the differential amplifier is configured to generate an output based on a voltage difference between the data input line and the reference input line during the evaluation phase.
 16. The apparatus of claim 15, wherein the offset compensation condition compensates for both voltage and gain offsets of the differential amplifier.
 17. The apparatus of claim 15, wherein the switch block circuit is configured to apply a reference voltage across the first capacitor during the precharge phase.
 18. The apparatus of claim 15, wherein the switch block circuit is configured to couple an output of the differential amplifier to the inverting input of the differential amplifier and couple the reference voltage to the second capacitor during the precharge phase.
 19. The apparatus of claim 15, wherein the switch block circuit is further configured to decouple the data input line from the first capacitor and the reference input line from the second capacitor during the precharge phase.
 20. The apparatus of claim 15, wherein the output generated by the differential amplifier is indicative of a data state of a memory cell coupled to the data input line. 